package com.yiche.virtualdemo;

import android.content.Context;

import com.alibaba.android.arouter.launcher.ARouter;
import com.didi.virtualapk.PluginManager;
import com.iflytek.cloud.SpeechUtility;
import com.yiche.common.app.BaseApplication;

/**
 * @author nie yunlong
 * @description
 * @date 2018/10/11
 */
public class MyApplication extends BaseApplication {
    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        PluginManager.getInstance(base).init();
    }

    @Override
    public void onCreate() {
        super.onCreate();
        SpeechUtility.createUtility(this,getString(R.string.common_app_id));
        ARouter.init(this);

    }
}
